package com.hibase.core.rule.constant;

/**
 * 规则类型
 */
public enum RuleStatus {

    RULE_STATUS_RELEASE("RELEASE", "上线"),
    RULE_STATUS_CANCEL("DOWNLINE", "下线"),
    RULE_STATUS_ENABLE("ENABLE", "启用"),
    RULE_STATUS_DISABLE("DISABLE", "禁用");

    private String value;
    private String key;

    RuleStatus(String key, String value){

        this.key = key;
        this.value = value;
    }

    public String getValue() {
        return value;
    }

    public String getKey() {
        return key;
    }
}
